Release 10.1A: OpenEdge Development:
Programming Interfaces
import-xml-db procedure
Imports an XML file containing audit polices into a connected database specified by its logical name. If the XML file contains policies that already exist in the database and the
Parameters:ploverrideparameter is set toNO, this procedure does not update the database and returns a comma-separated list of existing policies. The caller can then ask for confirmation and call the save-changes-to-db procedure. Ifploverrideis set toYES, this procedure automatically overrides all existing policies and does not return any duplicates in thepcDupListparameter. Any errors set theperrorMsgparameter and cause the import operation to be backed out.INPUT pcxmlFileName AS CHARACTERFilename of the XML file with audit policies to import.
INPUT pcDbName AS CHARACTERLogical name of the target database to import the policies.
INPUT plWait AS LOGICAL
YESspecifies to wait if a lock on a record cannot be acquired.INPUT ploverride AS LOGICAL
YESspecifies to override existing policies.OUTPUT pcDupList AS CHARACTERComma-separated list of policies that already exist in the specified database and also exist in the XML file.
OUTPUT perrorMsg AS CHARACTERError messages.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |